package com.fcat.common.user.slaver.mapper;

import com.fcat.springboot.mybatis.mapper.base.TsuantoneBaseMapper;
import com.fcat.common.user.entity.KeycloakRole;
import com.fcat.common.user.entity.PolicyConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface KeycloakRoleMapper extends TsuantoneBaseMapper<KeycloakRole> {

    //通过用户获取配置的角色列表
    List<KeycloakRole> getRolesByUsername(Map<String,Object> map);


    List<KeycloakRole> getAllRoles(Map<String,Object> map);

}